package com.dwy2002.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dwy2002.pojo.dto.users.UsersPageDTO;
import com.dwy2002.pojo.po.users.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 杜伟毅
 * @version 1.0
 * @since 2025/01/10
 */
@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    Page<Users> selectUserPage(@Param("page") Page<Users> page,
                               @Param("dto") UsersPageDTO dto);
}
